﻿using System;

namespace Work6
{
    class Program
    {
        static void Main(string[] args)
        {
            int score;

            Console.WriteLine("请输入学生成绩");

            score = int.Parse(Console.ReadLine());

            score = score / 10;

            switch (score)

            {
                case 10:

                    Console.WriteLine("成绩优秀");

                    break;

                case 9:

                    Console.WriteLine("成绩优秀");

                    break;

                case 8:

                    Console.WriteLine("成绩良好");

                    break;

                case 7:

                    Console.WriteLine("成绩及格");

                    break;

                case 6:

                    Console.WriteLine("成绩及格");

                    break;

                default:

                    Console.WriteLine("成绩不及格");

                    break;
                   
            }
            Console.ReadKey();
        } 
    }
}
